//---------------------------------------------------------------------------

#ifndef SPISOK_OTKL_PRIBH
#define SPISOK_OTKL_PRIBH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxEdit.hpp"
#include "cxGraphics.hpp"
#include "cxGroupBox.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include <DBGrids.hpp>
#include <ExtCtrls.hpp>
#include <Grids.hpp>
#include <DB.hpp>
#include <DBCtrls.hpp>
#include "cxButtons.hpp"
#include <ActnList.hpp>
#include <ComCtrls.hpp>
#include <Menus.hpp>
#include "cxCalendar.hpp"
#include "cxDropDownEdit.hpp"
#include "cxMaskEdit.hpp"
#include "cxTextEdit.hpp"
#include "DBAccess.hpp"
#include "IBC.hpp"
#include "MemDS.hpp"
#include <Buttons.hpp>
//---------------------------------------------------------------------------
class TfrSPISOK_OTKL_PRIB : public TForm
{
__published:	// IDE-managed Components
	TPanel *pTable;
	TPanel *pEdit;
	TPanel *pUPR;
	TcxGroupBox *gbTable;
	TcxGroupBox *gbEdit;
	TDBGrid *sgOTKL_PRIB;
	TLabel *Label4;
	TDBText *labVID_PRIB;
	TLabel *Label1;
	TDBText *labMARKA;
	TLabel *Label2;
	TDBText *labMODEL;
	TLabel *Label3;
	TDBText *labDATA_UST;
	TLabel *Label5;
	TDBText *labZAV_NOM;
	TLabel *Label6;
	TDBText *labDATA_OTKL;
	TLabel *Label7;
	TDBText *labPRITH_OTKL;
	TLabel *Label8;
	TDBText *labSPOSOB_OTKL;
	TLabel *Label9;
	TActionList *ActionList1;
	TAction *PODKL;
	TcxButton *btPODKL;
	TLabel *Label10;
	TDBLookupComboBox *cbSOTR;
	TAction *VIP_PODKL;
	TcxDateEdit *dtpDAT_PODKL;
	TBitBtn *btnDEL_PRIB;
	TAction *actDEL_PRIB;
	TBitBtn *btnPODKL_PRIB;
	void __fastcall FormShow(TObject *Sender);
	void __fastcall PODKLExecute(TObject *Sender);
	void __fastcall FormKeyPress(TObject *Sender, char &Key);
	void __fastcall VIP_PODKLExecute(TObject *Sender);
	void __fastcall cbSOTRKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
	void __fastcall dtpDAT_PODKLKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
	void __fastcall actDEL_PRIBExecute(TObject *Sender);
private:	// User declarations
public:		// User declarations
int NOM,OSHIBKA,GOR_VODA,TIP;
String PRIM;
	__fastcall TfrSPISOK_OTKL_PRIB(TComponent* Owner);
	void __fastcall TfrSPISOK_OTKL_PRIB::B_OTKL();
};
//---------------------------------------------------------------------------
extern PACKAGE TfrSPISOK_OTKL_PRIB *frSPISOK_OTKL_PRIB;
//---------------------------------------------------------------------------
#endif
